package com.orientsec.autotest.project.system.execTask.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 案例执行表 exec_task
 * 
 * @author autotest
 * @date 2020-02-19
 */
public class ExecTask extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 任务id */
	private Integer taskId;
	/** 任务编号 */
	private String taskNo;
	/** 任务日期 */
	private Date taskDate;
	/** 用户id */
	private Integer userId;
	/** 任务类型:1-单个案例;2-组合案例;3-案例集合 */
	private String taskType;
	/** 执行类型:1-正常运行;2-边界测试;3-单步执行 */
	private String execType;
	/** 案例编号 */
	private String caseNo;
	/** 总共有多少任务需要被执行 */
	private Integer caseCount;
	/** 任务名 */
	private String taskName;
	/** 任务描述 */
	private String taskDesc;
	/** 任务状态:0-未执行;1-运行中;2-运行完成;3-异常终止。 */
	private Integer taskState;
	/** 执行T日，-2-不执行；-1-全部执行；0-T日；1-T+1日。。。 */
	private Integer execDay;
	/** 结算文件生成标志0-不生成；1-待生成；2-已生成 */
	private Integer ismnjs;
	/** 执行用户 */
	private Integer runUser;
	/** isstep */
	private Integer isstep;
	/** iscryq */
	private Integer iscryq;

	public void setTaskId(Integer taskId) 
	{
		this.taskId = taskId;
	}

	public Integer getTaskId() 
	{
		return taskId;
	}
	public void setTaskNo(String taskNo) 
	{
		this.taskNo = taskNo;
	}

	public String getTaskNo() 
	{
		return taskNo;
	}
	public void setTaskDate(Date taskDate) 
	{
		this.taskDate = taskDate;
	}

	public Date getTaskDate() 
	{
		return taskDate;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setTaskType(String taskType) 
	{
		this.taskType = taskType;
	}

	public String getTaskType() 
	{
		return taskType;
	}
	public void setExecType(String execType) 
	{
		this.execType = execType;
	}

	public String getExecType() 
	{
		return execType;
	}
	public void setCaseNo(String caseNo) 
	{
		this.caseNo = caseNo;
	}

	public String getCaseNo() 
	{
		return caseNo;
	}
	public void setCaseCount(Integer caseCount) 
	{
		this.caseCount = caseCount;
	}

	public Integer getCaseCount() 
	{
		return caseCount;
	}
	public void setTaskName(String taskName) 
	{
		this.taskName = taskName;
	}

	public String getTaskName() 
	{
		return taskName;
	}
	public void setTaskDesc(String taskDesc) 
	{
		this.taskDesc = taskDesc;
	}

	public String getTaskDesc() 
	{
		return taskDesc;
	}
	public void setTaskState(Integer taskState) 
	{
		this.taskState = taskState;
	}

	public Integer getTaskState() 
	{
		return taskState;
	}
	public void setExecDay(Integer execDay) 
	{
		this.execDay = execDay;
	}

	public Integer getExecDay() 
	{
		return execDay;
	}
	public void setIsmnjs(Integer ismnjs) 
	{
		this.ismnjs = ismnjs;
	}

	public Integer getIsmnjs() 
	{
		return ismnjs;
	}
	public void setRunUser(Integer runUser) 
	{
		this.runUser = runUser;
	}

	public Integer getRunUser() 
	{
		return runUser;
	}
	public void setIsstep(Integer isstep) 
	{
		this.isstep = isstep;
	}

	public Integer getIsstep() 
	{
		return isstep;
	}
	public void setIscryq(Integer iscryq) 
	{
		this.iscryq = iscryq;
	}

	public Integer getIscryq() 
	{
		return iscryq;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskNo", getTaskNo())
            .append("taskDate", getTaskDate())
            .append("userId", getUserId())
            .append("taskType", getTaskType())
            .append("execType", getExecType())
            .append("caseNo", getCaseNo())
            .append("caseCount", getCaseCount())
            .append("taskName", getTaskName())
            .append("taskDesc", getTaskDesc())
            .append("taskState", getTaskState())
            .append("execDay", getExecDay())
            .append("ismnjs", getIsmnjs())
            .append("runUser", getRunUser())
            .append("isstep", getIsstep())
            .append("iscryq", getIscryq())
            .toString();
    }
}
